<?php
/**
 * 获取accessToken、js票据、卡券票据示例
 */
header('Content-type:text/html;charset=utf-8');
require_once 'WxSDK.php';
echo 'AccessToken:' . WxSDK::getAccessToken();
echo '<br>';
echo 'JsApiTicket:' . WxSDK::getJsApiTicket();
echo '<br>';
echo '卡券Ticket:' . WxSDK::getCardTicket();